<template>
  <view >
    <view class="top_stat">
      <text @tap="logOut()">退出登陆</text>
    </view>
  </view>
</template>

<script>
import './user.module.scss'
import Taro from '@tarojs/taro'
export default {
  name: 'user',
  methods: {
    logOut(){
      Taro.redirectTo({
        url: '/pages/login/login'
      })
    }
  }
}

</script>
